package com.zuxia.service;

import java.util.List;
import java.util.Map;

import org.hibernate.criterion.DetachedCriteria;

import com.zuxia.entity.Stock;
import com.zuxia.uilt.Page;

/**
 *���ҵ���ӿ� 
 */
public interface IStockService {
	
	String saveStock(Stock s);

	Map<String, Object> selectCarModel();

	List<Stock> findAll();

	Stock findStockById(Stock stock);

	String updateStock(Stock stock);

	boolean deleteStock(Stock stock);

	boolean batchDelteStock(String checks);
	
	Page findPageStock(DetachedCriteria dCriteria,Integer num);
}
